package com.hnair.bot.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hnair.bot.mapper.BfDictMapper;
import com.hnair.bot.model.BfDict;
import com.hnair.bot.service.IBfDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 字典表  服务实现类
 * </p>
 *
 * @author wx
 * @since 2017-06-20
 */
@Service
public class BfDictServiceImpl extends ServiceImpl<BfDictMapper, BfDict> implements IBfDictService {

	@Autowired
	private BfDictMapper dictMapper;
	
	
	/**
	 * 根据字典类型名称查询字典值
	 */
	@Override
	public List<BfDict> selectByTypeName(Map<String, Object> params) {
		return dictMapper.selectByTypeName(params);
	}
	
}
